<? $projects=$this->projects;?>
<?foreach ($projects as $project):?>
    <div class="section">
<!--    --><?//print_r($project); die;?>
         <h3><?=$project['title']?></h3>
         <div><img style="float: left; margin: 0px 7px 7px 0px; width:90px" src="<?=$project['img']?>"><?=$this->truncate($project['content'],160)?></div>
         <table><tr><td style="padding-top: 3px; padding-right: 54px;"><span class="date"><?=$project['date']->format('Y-m-d')?></span></td><td style="padding-right: 7px;padding-top: 3px; font-weight: bold;"><a href="/viewproject/<?=$project['id']?>">View</a></td><td> <a href="/viewproject/<?=$project['id']?>"> <img src="/images/view-more.png" style="padding-top: 6px;"></a></td></tr></table>

    </div>
<?endforeach?>
<!--          <div class="section">-->
<!--                                        <h3>Article 2</h3>-->
<!--                                        <div>Central air conditioners - are industrial units, which are used for air purification in large commercial and public buildings, swimming pools, industrial plants and others. Central air conditioning is not independent, that is, for him, an external source of cold...</div>-->
<!--                                        <a href="">View</a>-->
<!--                                        <span class="date">30.09.11</span>-->
<!---->
<!--                                </div>-->